﻿! function(t) {
	console.log(1);

	var foothtml = '<footer class="jui-foot" >' +
		'<a class="tab-item" href="index.html"><div class="index_ico"></div></a>' +
		'<a class="tab-item" href="classify.html"><div class="select_ico"></div></a>' +
		'<a class="tab-item" href="javascript:;"><div class="help_ico"></div></a>' +
		'<a class="tab-item" href="firmorder.html"><div class="myself_ico"></div></a>' +
		'</footer>';

	var index = -1;

	if(window.location.href.indexOf('index.html') > -1) {
		index = 0;
	}
	if(window.location.href.indexOf('classify.html') > -1) {
		index = 1;
	}
	if(index > -1) {
		$(".jui-flexview").append(foothtml);
		$('.jui-foot .tab-item').eq(index).find("div").addClass('change')
	}

}(window);